import { createApp } from 'vue'
import router from "./router/router.js"
import { createPinia } from 'pinia'
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "../tailwindcss.css"
import App from './App.vue'
import piniaPersist from "pinia-plugin-persist"

const app = createApp(App);
Object.keys(ElementPlusIconsVue).forEach((key) => {
    app.component(key, ElementPlusIconsVue[key]);
  });
  const pinia= createPinia();
pinia.use(piniaPersist)
app.use(router).use(pinia).use(ElementPlus);
app.mount('#app')
